import { getAction, deleteDataAction, putAction, postAction, downFilePost } from '@/api/manage'
const serviceName = 'incident-server'
const serviceName2 = 'alarm-server'
// 总数统计
const getBigScreenToTypeTotal = params => getAction(`${serviceName}/bigScreen/getBigScreenToTypeTotal`, params)
const getAreaTotal = params => getAction(`${serviceName}/keyArea/total`, params)
const getAllAlarmCount = params => getAction(`${serviceName2}/alarmCenterMessage/getAllAlarmCount`, params)
// 反走私情报类型
const getLeft1 = params => getAction(`${serviceName}/bigScreen/getBigScreenToIntelligenceType`, params)
// 反走私情报态势
const getLeft2 = params => getAction(`${serviceName}/bigScreen/getBigScreenToIntelligenceSituational`, params)
// 反走私重点区域排行
const getLeft3 = params => getAction(`${serviceName}/keyArea/top5`, params)
// 反走私告警类型
const getRight1 = params => postAction(`${serviceName2}/alarmCenterMessage/getAlarmTypeRatio`, params)
// 反走私告警态势
const getRight2 = params => getAction(`${serviceName2}/alarmCenterMessage/getAlarmEventTrends`, params)
// 反走私案事件态势
const getRight3 = params => getAction(`${serviceName}/bigScreen/getBigScreenToIncidentSituational`, params)
// 地图
const getMapData = params => getAction(`${serviceName}/bigScreen/getWxMapTotal`, params)
export {
  // 总数统计
  getBigScreenToTypeTotal,
  getAreaTotal,
  getAllAlarmCount,
  getLeft1,
  getLeft2,
  getLeft3,
  getRight1,
  getRight2,
  getRight3,
  getMapData
}